package com.gdssoft.pdaweb.service;

import com.gdssoft.pdaweb.model.CheckWorkOrder;
import com.gdssoft.pdaweb.model.PdaApplyRepair;
import com.gdssoft.pdaweb.model.RepairWorkOrder;


public interface EamService {
	/**
	 * 同步维修单状态，PDA状态2-转单,9-已完成
	 * @return
	 */
	boolean syncRepairOrderStatus(RepairWorkOrder repairWorkOrder);
	/**
	 * 同步巡检单状态，PDA状态 9-已完成
	 * @return
	 */
	boolean syncCheckOrderStatus(CheckWorkOrder checkWorkOrder);
	/**
	 * 同步报修申请单，PDA状态 9-已完成
	 * @return
	 */
	String createApplyRepair(PdaApplyRepair pdaApplyRepair);
	
	/**
	 * 同步物料申请单
	 * @return
	 */
	boolean createMR(String userid,String wonum,String itemnum,
			double itemqty,String location,String password);
	
}
